<meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8" />
<div class="modal fade" id="projectEntry-importExcel" data-keyboard="false" data-backdrop="static" tabindex="-1">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h2 class="modal-title pull-left" id="projectEntry-importExcel-modal-title">上传文件</h2>
            </div>

            <div class="modal-body">

                <form id="projectEntry-importExcel-form" enctype="multipart/form-data" method="post" >
<!--                     <a onclick="downloadTemplate()" href="#" style="display: block;text-align: center;text-decoration: underline;">点击下载模板</a>-->
<!--                    <input type="file" id="file" name="file" style="display: none" />-->
<!--                    <input type="text" id="filename" style="display:none"></span>-->
<!--                    <input type="button" onclick="upload()" value="选择文件上传" />-->


                    <div class="text-center">
                        <input type="file" name="file" id="pic"/>
                    </div>

                    <div class="m-1">
                        <a onclick="downloadTemplate()" href="#" style="display: block;text-align: center;text-decoration: underline;">点击下载模板</a>
                    </div>

                    <br/>
                    <span style="color: red">注意:导入数据时，所有字段不能全是数字</span>
                </form>
            </div>
            <div class="modal-footer">
<!--                <button type="button" class="btn btn-secondary btn-close" data-dismiss="modal">关闭</button>-->
                <button type="button" class="btn btn-save" id="projectEntry-importExcel-button" onclick="uploadPic()" name="save">保存</button>
                <button type="button" class="btn btn-secondary btn-close" name="import—close">关闭</button>
                <button class="btn-hide"></button>
            </div>
        </div>
    </div>
</div>
<script data-th-src="@{js/app/system/projectEntry/projectEntryImportExcel.js}"></script>
<!--<link rel="stylesheet" data-th-href="@{css/fileinput.css}">-->
<link rel="stylesheet" data-th-href="@{css/fileinput.min.css}">
<!--<script data-th-src="@{js/app/fileinput.js}"></script>-->
<script data-th-src="@{js/app/system/fileinput.min.js}"></script>